home *** CD-ROM | disk | FTP | other *** search
- Path: news.cern.ch!danpop
- From: danpop@mail.cern.ch (Dan Pop)
- Newsgroups: comp.lang.c
- Subject: Re: malloc.h
- Date: 18 Apr 96 09:22:03 GMT
- Organization: CERN European Lab for Particle Physics
- Message-ID: <danpop.829819323@news.cern.ch>
- References: <hartigan-1704961430130001@news.sonic.net> <17APR199622174354@erich.triumf.ca>
- NNTP-Posting-Host: ues5.cern.ch
- Mime-Version: 1.0
- Content-Type: text/plain; charset=US-ASCII
- Content-Transfer-Encoding: 7bit
- X-Newsreader: NN version 6.5.0 #18 (NOV)
-
- In <17APR199622174354@erich.triumf.ca> bennett@erich.triumf.ca (P.Bennett) writes:
-
- >In article <hartigan-1704961430130001@news.sonic.net>, hartigan@sonic.net (dennis hartigan) writes...
- >>i have some source that i found and it includes a header file named
- >><malloc.h>...i have 4 books on C, and not one of them mention this
- >>header...can someone tell me what is in this prototype???
- >
- >Just a wild guess, but I might expect malloc.h to contain prototypes for
- >malloc(), free(), etc.
-
- If he's on a Unix system, your guess is not only wild, but dead wrong,
- as well :-)
-
- >Under standard C, these are in stdlib.h.
-
- Right. <malloc.h> on a Unix system contains declarations for stuff like
- mallinfo() and mallopt(), which has nothing to do with the C language,
- which explains why this header is omitted by the books on C.
-
- Dan
- --
- Dan Pop
- CERN, CN Division
- Email: danpop@mail.cern.ch
- Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
-